home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / technical documentation / macintosh technotes and q&as / technotes / tn / samplecode.sit.hqx / Sample Code / GetShapeLocalBounds.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-22  |  691 b   |  38 lines

  1. /*
  2.     File:        GetShapeLocalBounds.h
  3.  
  4.     Contains:    This file implements a custom version of GXGetShapeLocalBounds
  5.                 that fixes a problem with handling the bounds of an embedded
  6.                 QuickDraw picture.
  7.  
  8.     Written by:    Daniel I. Lipton
  9.  
  10.     Copyright:    © 1997 by Apple Computer, Inc., all rights reserved.
  11.  
  12.     Writers:
  13.  
  14.         (DIL)    Daniel Lipton
  15.         (IK)    Ingrid Kelly
  16.  
  17.     Change History (most recent first):
  18.  
  19.          <1>      6/1/97    IK        First created.
  20. */
  21.  
  22. #ifndef __GETSHAPELOCALBOUNDS__
  23. #define __GETSHAPELOCALBOUNDS__
  24.  
  25. #include <GXTypes.h>
  26.  
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30.  
  31.     gxRectangle* GetShapeLocalBounds(gxShape source, gxRectangle *bounds);
  32.  
  33. #ifdef __cplusplus
  34. }
  35. #endif
  36.  
  37. #endif /* __GETSHAPELOCALBOUNDS__ */
  38.